|
2020-2021 Sunseeker Telemetry and Lighting System
|
Go to the source code of this file.
Functions | |
| void | main (void) |
| void | EUSCI_A0_ISR (void) |
Variables | |
| uint16_t | i |
| uint8_t | RXData = 0 |
| uint8_t | TXData = 0 |
| uint8_t | check = 0 |
| void EUSCI_A0_ISR | ( | void | ) |
Definition at line 149 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| void main | ( | void | ) |
Definition at line 69 of file eusci_a_uart_ex1_loopbackAdvanced.c.
References check, param, STATUS_FAIL, and TXData.
| uint8_t check = 0 |
Definition at line 67 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint16_t i |
EUSCI_A0 External Loopback test using EUSCI_A_UART_init API
Description: This demo connects TX to RX of the MSP430 UART The example code shows proper initialization of registers and interrupts to receive and transmit data.
SMCLK = MCLK = BRCLK = DCOCLKDIV = ~1MHz, ACLK = 32.768kHz
MSP430FR2xx_4xx Board
-----------------
RST -| UCA0TXD|----|
| | |
| | |
| UCA0RXD|----|
| |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 65 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint8_t RXData = 0 |
Definition at line 66 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint8_t TXData = 0 |
Definition at line 66 of file eusci_a_uart_ex1_loopbackAdvanced.c.